package ofc4j.model.elements;

import ofc4j.model.metadata.Alias;

public class SketchBarChart extends FilledBarChart {
    @Alias("offset") private Integer funFactor;
    
    public SketchBarChart() {
        super("bar_sketch");
    }
    
    public SketchBarChart(String colour, String outlineColour, Integer funFactor) {
        super("bar_sketch");
        setColour(colour);
        setOutlineColour(outlineColour);
        setFunFactor(funFactor);
    }
    
    public Integer getFunFactor() {
        return funFactor;
    }
    
    public BarChart setFunFactor(Integer funFactor) {
        this.funFactor = funFactor;
        return this;
    }
}
